
<#list listItem as item>
	<div style="float:left">
	<span style="color:red" >TypeName: ${item.type.typename}<br /></span>
	<hr/>
	<#list item.products?if_exists as pro>
				<div style="width:300px;height:150px;background-color:#fffff3;float:left;margin:5px;border:#ccc 1px solid">
					<a href="/main/view.jhtml?id=${pro.id}"><img src="${pro.proimage_s?default('/images/noimag.gif')}" width="100px" height="100px" style="float:left" /></a>
					<div style="float:right">
						productName: ${pro.productname}<br/>
						price:  ${pro.price}/${pro.unit}<br/>
						batchPrice: ${pro.batchprice}/${pro.unit}<br/>
					</div>
				</div>
	</#list>
	</div>
</#list>
